package com.zk.algorithm.bean;

import java.util.ArrayList;

public class DirectedGraphNode {

    private int label;
    private ArrayList<DirectedGraphNode> neighbors;

    public DirectedGraphNode(int label) {
        this.label = label;
        this.neighbors = new ArrayList<DirectedGraphNode>();
    }

    public ArrayList<DirectedGraphNode> getNeighbors() {
        return neighbors;
    }

    public int getLabel() {
        return label;
    }

}
